introspection: Fix build
authorBenjamin Otte <otte@redhat.com>
Wed, 15 Nov 2017 18:33:26 +0000 (19:33 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 15 Nov 2017 18:33:26 +0000 (19:33 +0100)
gtk/gtkmenu.c
gtk/gtkselection.c
gtk/gtkwindow.h

index 51544ab92c03ec5a92639b5bb677c5119f6f82ac..d4307ea39844a06b531881c6ebb9c0910a31a2d2 100644 (file)
@@ -4297,8 +4297,8 @@ gtk_menu_select_item (GtkMenuShell *menu_shell,
 /**
  * gtk_menu_set_display:
  * @menu: a #GtkMenu
- * @screen: (allow-none): a #GdkDisplay, or %NULL if the display should be
- *          determined by the widget the menu is attached to
+ * @display: (allow-none): a #GdkDisplay, or %NULL if the display should be
+ *           determined by the widget the menu is attached to
  *
  * Sets the #GdkDisplay on which the menu will be displayed.
  *
index 8d6f503aa109cc1d48dab05f6fb6d539740283dd..339eef1f95ea9ce73c2e2d74d69239005057ec76 100644 (file)
@@ -974,8 +974,7 @@ gtk_selection_add_target (GtkWidget     *widget,
  * gtk_selection_add_targets:
  * @widget: a #GtkWidget
  * @selection: the selection
- * @targets: (array length=ntargets): a table of targets to add
- * @ntargets:  number of entries in @targets
+ * @targets: the targets to add
  * 
  * Prepends a table of targets to the list of supported targets
  * for a given widget and selection.
index 19d07f5b53111a6f3a5e54c26c4a29966e28180c..47f82636db0b3ea83480ede1708e5b17de57818e 100644 (file)
@@ -275,7 +275,7 @@ GDK_AVAILABLE_IN_ALL
 GList*     gtk_window_get_icon_list                (GtkWindow  *window);
 GDK_AVAILABLE_IN_ALL
 void       gtk_window_set_icon                     (GtkWindow  *window,
-                                                    GdkTexture *texture);
+                                                    GdkTexture *icon);
 GDK_AVAILABLE_IN_ALL
 void       gtk_window_set_icon_name                (GtkWindow   *window,
                                                    const gchar *name);